package com.iron.consumer.feign.fallback;

import com.iron.common.core.util.R;
import com.iron.consumer.entity.TxB;
import com.iron.consumer.feign.IronProviderFeign;
import org.springframework.stereotype.Component;

@Component
public class IronProviderFeignFallback implements IronProviderFeign {

    @Override
    public R providerTest() {
        return R.ok("iron-provider fallback fallbackFactory");
    }

    @Override
    public R save(TxB txB) {
        return R.ok("iron-sfm fallback fallbackFactory");
    }
}
